set(Modules_INCLUDE_DIRS ${CMAKE_CURRENT_LIST_DIR}/include CACHE PATH "Modules_INCLUDE_DIRS")

execute_process(COMMAND ls ${CMAKE_CURRENT_SOURCE_DIR} OUTPUT_VARIABLE TEST_MODULE_COMMON_SQ)
string(REPLACE "\n" ";" TEST_MODULE_COMMON_SQ "${TEST_MODULE_COMMON_SQ}")
foreach(n ${TEST_MODULE_COMMON_SQ})
    if(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${n})
        add_subdirectory(${n})
    endif()
endforeach()